Commit acbf1691 authored by liboyang's avatar liboyang

Merge remote-tracking branch 'origin/dev' into dev

parents c49240e5 6c7b99c3
...@@ -133,10 +133,11 @@ public interface ReceiptMapper { ...@@ -133,10 +133,11 @@ public interface ReceiptMapper {
public List<Map<String,Object>> selectDetailList(@Param("receiptId") String receiptId); public List<Map<String,Object>> selectDetailList(@Param("receiptId") String receiptId);
//根据传入的交接单ID和复核人ID插入复核人、复核时间 //根据传入的交接单ID和复核人ID插入复核人、复核时间、更改状态
@Update("update receipt_list set \n" + @Update("update receipt_list set \n" +
"check_date = #{date},\n" + "check_date = #{date},\n" +
"check_name=#{checkName} \n" + "check_name=#{checkName} \n" +
"state = 1"+
"where id=#{receiptId}") "where id=#{receiptId}")
public boolean updateReceiptList(@Param("receiptId") String receiptId,@Param("checkName") String checkName,@Param("date") Date date); public boolean updateReceiptList(@Param("receiptId") String receiptId,@Param("checkName") String checkName,@Param("date") Date date);
......
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