Commit fda66056 by wuwenlong

项目立项提交、完工dev;

parent dfee68d2
...@@ -80,9 +80,9 @@ public class ServiceHGSC001 extends ServiceBase { ...@@ -80,9 +80,9 @@ public class ServiceHGSC001 extends ServiceBase {
DaoUtils.update(HGSC001.BATCH_COMPLETE, new HashMap<String,Object>(){{put("ids",ids);}}); DaoUtils.update(HGSC001.BATCH_COMPLETE, new HashMap<String,Object>(){{put("ids",ids);}});
inInfo = this.query(inInfo); inInfo = this.query(inInfo);
inInfo.setStatus(EiConstant.STATUS_DEFAULT); inInfo.setStatus(EiConstant.STATUS_DEFAULT);
inInfo.setMsg("操作成功!本次对[" + resultRows.size() + "]条数据删除成功!"); inInfo.setMsg("操作成功!本次对[" + resultRows.size() + "]条数据完工成功!");
} catch (Exception e) { } catch (Exception e) {
LogUtils.setDetailMsg(inInfo, e, "删除失败"); LogUtils.setDetailMsg(inInfo, e, "操作失败");
} }
return inInfo; return inInfo;
} }
...@@ -95,9 +95,9 @@ public class ServiceHGSC001 extends ServiceBase { ...@@ -95,9 +95,9 @@ public class ServiceHGSC001 extends ServiceBase {
DaoUtils.update(HGSC001.BATCH_COMMIT, new HashMap<String,Object>(){{put("ids",ids);}}); DaoUtils.update(HGSC001.BATCH_COMMIT, new HashMap<String,Object>(){{put("ids",ids);}});
inInfo = this.query(inInfo); inInfo = this.query(inInfo);
inInfo.setStatus(EiConstant.STATUS_DEFAULT); inInfo.setStatus(EiConstant.STATUS_DEFAULT);
inInfo.setMsg("操作成功!本次对[" + resultRows.size() + "]条数据删除成功!"); inInfo.setMsg("操作成功!本次对[" + resultRows.size() + "]条数据提交成功!");
} catch (Exception e) { } catch (Exception e) {
LogUtils.setDetailMsg(inInfo, e, "删除失败"); LogUtils.setDetailMsg(inInfo, e, "操作失败");
} }
return inInfo; return inInfo;
} }
......
...@@ -339,7 +339,7 @@ ...@@ -339,7 +339,7 @@
</update> </update>
<update id="complete"> <update id="batch_complete">
UPDATE ${hggpSchema}.HGSC001 UPDATE ${hggpSchema}.HGSC001
SET SET
proj_status = 1, <!-- 项目状态 0:在建;1:完工 --> proj_status = 1, <!-- 项目状态 0:在建;1:完工 -->
...@@ -350,7 +350,7 @@ ...@@ -350,7 +350,7 @@
id IN <iterate close=")" open="(" conjunction="," property="ids">#ids[]#</iterate> id IN <iterate close=")" open="(" conjunction="," property="ids">#ids[]#</iterate>
</update> </update>
<update id="commit"> <update id="batch_commit">
UPDATE ${hggpSchema}.HGSC001 UPDATE ${hggpSchema}.HGSC001
SET SET
approval_status = 2, <!-- 审批状态 0:待审;1:审核中;2:已审 --> approval_status = 2, <!-- 审批状态 0:待审;1:审核中;2:已审 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment