bruce

新需求上线

...@@ -96,6 +96,8 @@ public class PickAuditBiz { ...@@ -96,6 +96,8 @@ public class PickAuditBiz {
96 } 96 }
97 if (!map.isEmpty()) { 97 if (!map.isEmpty()) {
98 pickDao.updateDate(map); 98 pickDao.updateDate(map);
99 + map.put("status", actionIn);
100 + outpropApplyDao.updateStatus(map);
99 } 101 }
100 } else { 102 } else {
101 outmap.put("resultCode", 0); 103 outmap.put("resultCode", 0);
......
...@@ -23,4 +23,6 @@ public interface OutpropApplyDao extends OracleDao { ...@@ -23,4 +23,6 @@ public interface OutpropApplyDao extends OracleDao {
23 23
24 OutpropApplyInfo queryByPositionStr(String positionStr); 24 OutpropApplyInfo queryByPositionStr(String positionStr);
25 25
26 + void updateStatus(Map<String, Object> params);
27 +
26 } 28 }
......
...@@ -42,4 +42,12 @@ ...@@ -42,4 +42,12 @@
42 WHERE T.POSITION_STR = #{value} 42 WHERE T.POSITION_STR = #{value}
43 </select> 43 </select>
44 44
45 + <update id="updateStatus" parameterType="map">
46 + UPDATE HS_ASSET.OUTPROPAPPLY SET
47 + <if test="status != null and auditDate != ''">
48 + SDCPROPAPPLY_STATUS = #{status}
49 + </if>
50 + WHERE OP_STATION = #{pickNo}
51 + </update>
52 +
45 </mapper> 53 </mapper>
...\ No newline at end of file ...\ No newline at end of file
......