| | |
| | | |
| | | public void UpdateInspectedItems() |
| | | { |
| | | string sql = "update dix.inspectiteminfo set IsInspected=1 where IsInspected=0;"; |
| | | Service.ExecuteSql(sql); |
| | | UpdateInspectedjudge(); |
| | | try |
| | | { |
| | | string sql = "update dix.inspectiteminfo set IsInspected=1 where IsInspected=0;"; |
| | | Service.ExecuteSql(sql); |
| | | UpdateInspectedjudge(); |
| | | } |
| | | catch (Exception) |
| | | { |
| | | throw new Exception(); |
| | | } |
| | | } |
| | | public void UpdateInspectedjudge() |
| | | { |
| | | string sql = "update dix.inspectjudge set IsInspected=1 where IsInspected=0;"; |
| | | Service.ExecuteSql(sql); |
| | | try |
| | | { |
| | | string sql = "update dix.inspectjudge set IsInspected=1 where IsInspected=0;"; |
| | | Service.ExecuteSql(sql); |
| | | } |
| | | catch (Exception) |
| | | { |
| | | throw new Exception(); |
| | | } |
| | | } |
| | | public ResultMessage CompareFreqLimit(int objectid, int freqid) |
| | | { |