Commit c5d48c53 authored by dahai's avatar dahai

修改查询交接单详情

parent 1005de23
......@@ -136,7 +136,7 @@ public class ReceiptApi {
@RequestMapping("selectRecriptData")
public List<Map<String, Object>> selectRecriptData(@RequestParam("name")String name) {
//返回交接单数据
List<Map<String, Object>> resultMap = receiptService.selectReceiptListOfSpecialCard();
List<Map<String, Object>> resultMap = receiptService.selectReceiptListOfSpecialCard(name);
for (int i = 0; i < resultMap.size(); i++) {
String groupNo = (String) resultMap.get(i).get("QR_CODE");
//判断是否是特证
......
......@@ -114,8 +114,8 @@ public interface ReceiptMapper {
public int selectSpecialCardByAcceptNo(@Param("id") String id);
//查询未复核交接单
@Select("SELECT RECEIPT_LIST.* ,GAJG_DM.GAJG_MC FROM RECEIPT_LIST LEFT JOIN GAJG_DM ON RECEIPT_LIST.POLICE_CODE=GAJG_DM.GAJG_DM where state=0 \n")
public List<Map<String,Object>>selectReceiptListOfSpecialCard ();
@Select("SELECT RECEIPT_LIST.* ,GAJG_DM.GAJG_MC FROM RECEIPT_LIST LEFT JOIN GAJG_DM ON RECEIPT_LIST.POLICE_CODE=GAJG_DM.GAJG_DM where state=0 and check_name =#{name} \n")
public List<Map<String,Object>>selectReceiptListOfSpecialCard (@Param("name")String name);
//根据身份证号查询普通证交接单
@Select("SELECT RECEIPT_LIST.* FROM RECEIPT_LIST \n" +
......
......@@ -24,7 +24,7 @@ public interface ReceiptService {
public int selectSpecialCardByAcceptNo(String id);
public List<Map<String,Object>>selectReceiptListOfSpecialCard ();
public List<Map<String,Object>>selectReceiptListOfSpecialCard (String name);
public Map<String,Object> selectReceiptList(String id);
......
......@@ -59,8 +59,8 @@ public class ReceiptServiceImpl implements ReceiptService {
}
@Override
public List<Map<String, Object>> selectReceiptListOfSpecialCard() {
List<Map<String,Object>> resultList= receiptMapper.selectReceiptListOfSpecialCard();
public List<Map<String, Object>> selectReceiptListOfSpecialCard(String name) {
List<Map<String,Object>> resultList= receiptMapper.selectReceiptListOfSpecialCard(name);
return resultList;
}
......
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