Commit 587e973c authored by suichenguang's avatar suichenguang

数据核验

parent 42af3943
...@@ -89,7 +89,11 @@ public class ReceiptApi { ...@@ -89,7 +89,11 @@ public class ReceiptApi {
return true; return true;
} }
/**
* 根据身份证号查询任务单
* @param id
* @return
*/
@RequestMapping("selectReceipt") @RequestMapping("selectReceipt")
public Map<String,Object> selectReceipt(String id){ public Map<String,Object> selectReceipt(String id){
Map<String,Object> resultMap=receiptService.selectReceiptListOfSpecialCard(id); Map<String,Object> resultMap=receiptService.selectReceiptListOfSpecialCard(id);
...@@ -99,12 +103,23 @@ public class ReceiptApi { ...@@ -99,12 +103,23 @@ public class ReceiptApi {
return resultMap; return resultMap;
} }
/**
* 根据任务单查询详细信息
* @param receiptId
* @return
*/
@RequestMapping("selectDetailList") @RequestMapping("selectDetailList")
public List<Map<String,Object>> selectDetailList(String receiptId){ public List<Map<String,Object>> selectDetailList(String receiptId){
List<Map<String, Object>> resultList = receiptService.selectDetailList(receiptId); List<Map<String, Object>> resultList = receiptService.selectDetailList(receiptId);
return resultList; return resultList;
} }
/**
* 数据核验
* @param receiptId
* @param chechName
* @return
*/
@RequestMapping("updateReceiptList") @RequestMapping("updateReceiptList")
public boolean updateReceiptList(@Param("receiptId")int receiptId,@Param("checkName") String chechName){ public boolean updateReceiptList(@Param("receiptId")int receiptId,@Param("checkName") String chechName){
SimpleDateFormat dt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式 SimpleDateFormat dt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式
......
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