Commit a9f08e17 by xiaoyj

订货单确认收货批量修改设备入库时间

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21868 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent bfe63231
......@@ -42,4 +42,11 @@ public interface SysDeviceMapper {
SysDevice deviceRepeat(SysDevice sysDevice);
int deleteDevices(SysDevice sysDevice);
/**
* 通过订货单编号修改订货单设备入库时间
* @param indentNo
* @return
*/
int updateDevicesByIndentNo(String indentNo);
}
\ No newline at end of file
......@@ -436,7 +436,10 @@ public class IndentServiceImpl implements IndentService {
} else {
}
/**
* 确认收货更新订货单设备的入库时间
*/
deviceDao.updateDevicesByIndentNo(indent.getIndentNo());
/*
* 添加操作日志
*/
......
......@@ -413,4 +413,8 @@
DELETE from sys_device WHERE indent_no=#{indentNo} and user_id=#{userId}
</delete>
<update id="updateDevicesByIndentNo">
UPDATE sys_device SET stock_time=now() where indent_no=#{indentNo}
</update>
</mapper>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!