Commit 18113a5b authored by liboyang's avatar liboyang

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

parents e792c263 a3ba960f
...@@ -60,9 +60,9 @@ public class queryPreproPerson { ...@@ -60,9 +60,9 @@ public class queryPreproPerson {
*/ */
@RequestMapping("updatePreproPerson") @RequestMapping("updatePreproPerson")
// @RequiresPermissions("userInfo.add")//权限管理; // @RequiresPermissions("userInfo.add")//权限管理;
public Map<String,Object> updatePreproPerson(@RequestParam("uploadNo") String uploadNo, @RequestParam("isValid")String isValid, HttpServletResponse response){ public Map<String,Object> updatePreproPerson(@RequestParam("id") String id, @RequestParam("isValid")String isValid, HttpServletResponse response){
PreproPersonEntity preproPersonEntity = new PreproPersonEntity(); PreproPersonEntity preproPersonEntity = new PreproPersonEntity();
preproPersonEntity.setJmsfzslh(uploadNo); preproPersonEntity.setId(Long.valueOf(id));
preproPersonEntity.setIsValid(Long.valueOf(isValid)); preproPersonEntity.setIsValid(Long.valueOf(isValid));
preproPersonService.updatePreproPersonIsValid(preproPersonEntity); preproPersonService.updatePreproPersonIsValid(preproPersonEntity);
Map<String,Object> map = new LinkedHashMap<>(); Map<String,Object> map = new LinkedHashMap<>();
......
...@@ -135,7 +135,7 @@ public interface PreproPersonMapper { ...@@ -135,7 +135,7 @@ public interface PreproPersonMapper {
* @param personEntity * @param personEntity
* @return * @return
*/ */
@Update("UPDATE PREPRO_PERSON SET IS_VALID=#{isValid} where JMSFZSLH=#{jmsfzslh}") @Update("UPDATE PREPRO_PERSON SET IS_VALID=#{isValid} where id=#{id}")
public boolean updatePreproPersonIsValid(PreproPersonEntity personEntity); public boolean updatePreproPersonIsValid(PreproPersonEntity personEntity);
/** /**
......
...@@ -37,6 +37,7 @@ public class IDCardFactory { ...@@ -37,6 +37,7 @@ public class IDCardFactory {
filesEntity.setVersionCode(BBH); filesEntity.setVersionCode(BBH);
filesEntity.setUploadDate(date); filesEntity.setUploadDate(date);
String DWMC = packagehead.element("DWMC").getTextTrim(); String DWMC = packagehead.element("DWMC").getTextTrim();
filesEntity.setDwmc(DWMC); filesEntity.setDwmc(DWMC);
filesEntity.setCreateTime(packagehead.element("SCSJ").getTextTrim()); filesEntity.setCreateTime(packagehead.element("SCSJ").getTextTrim());
List<Element> recordlist = records.elements("RECORD"); List<Element> recordlist = records.elements("RECORD");
......
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