Commit 559ff0b7 authored by suichenguang's avatar suichenguang

交接单4.6

parent 6dce2d83
...@@ -84,7 +84,7 @@ public interface ReceiptMapper { ...@@ -84,7 +84,7 @@ public interface ReceiptMapper {
//根据交接单号查详单信息 //根据交接单号查详单信息
@Select("select * from detail_receipt_list where receipt=#{RECEIPT_ID}") @Select("select * from detail_receipt_list where receipt=#{RECEIPT_ID}")
public List<Map<String,Object>> selectDetailList(String receiptId); public List<Map<String,Object>> selectDetailList(@Param("receiptId") String receiptId);
//根据传入的交接单ID和复核人ID插入复核人、复核时间 //根据传入的交接单ID和复核人ID插入复核人、复核时间
...@@ -92,7 +92,7 @@ public interface ReceiptMapper { ...@@ -92,7 +92,7 @@ public interface ReceiptMapper {
"check_date = #{date},\n" + "check_date = #{date},\n" +
"check_name=#{checkName} \n" + "check_name=#{checkName} \n" +
"where id=#{receiptId}") "where id=#{receiptId}")
public boolean updateReceiptList(String receiptId, String checkName, Date date); public boolean updateReceiptList(@Param("receiptId") String receiptId,@Param("checkName") String checkName,@Param("date") Date date);
...@@ -131,7 +131,7 @@ public interface ReceiptMapper { ...@@ -131,7 +131,7 @@ public interface ReceiptMapper {
"prod_trace_t.ELECTRIC_WRITE_DATE as electricDate\n" + "prod_trace_t.ELECTRIC_WRITE_DATE as electricDate\n" +
"from prod_trace_t@PROD_LINK \n" + "from prod_trace_t@PROD_LINK \n" +
"WHERE subStr(ACCEPT_NO,0,8) = #{groupNo} or ACCEPT_NO=#{groupNo}") "WHERE subStr(ACCEPT_NO,0,8) = #{groupNo} or ACCEPT_NO=#{groupNo}")
public Map<String,Object>selectTimes(String groupNo); public Map<String,Object>selectTimes(@Param("groupNo") String groupNo);
} }
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