|
|
@ -15,9 +15,7 @@ import com.hxhq.business.form.gsp.GspGhForm; |
|
|
import com.hxhq.business.form.gsp.GspJyForm; |
|
|
import com.hxhq.business.form.gsp.GspJyForm; |
|
|
import com.hxhq.business.form.gsp.GspSearchListForm; |
|
|
import com.hxhq.business.form.gsp.GspSearchListForm; |
|
|
import com.hxhq.business.form.mjy.*; |
|
|
import com.hxhq.business.form.mjy.*; |
|
|
import com.hxhq.business.service.IArchiveLogService; |
|
|
|
|
|
import com.hxhq.business.service.IGspFfjlJcgjService; |
|
|
|
|
|
import com.hxhq.business.service.INoticeService; |
|
|
|
|
|
|
|
|
import com.hxhq.business.service.*; |
|
|
import com.hxhq.business.utils.JctUtil; |
|
|
import com.hxhq.business.utils.JctUtil; |
|
|
import com.hxhq.common.core.exception.ServiceException; |
|
|
import com.hxhq.common.core.exception.ServiceException; |
|
|
import com.hxhq.common.core.utils.DateUtils; |
|
|
import com.hxhq.common.core.utils.DateUtils; |
|
|
@ -29,7 +27,6 @@ import org.apache.commons.lang3.math.NumberUtils; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
import com.hxhq.business.mapper.GspFfjlMapper; |
|
|
import com.hxhq.business.mapper.GspFfjlMapper; |
|
|
import com.hxhq.business.service.IGspFfjlService; |
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
|
@ -55,6 +52,9 @@ public class GspFfjlServiceImpl extends ServiceImpl impl |
|
|
@Autowired |
|
|
@Autowired |
|
|
private INoticeService noticeService; |
|
|
private INoticeService noticeService; |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
private IStudyGspService studyGspService; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 查询供试品发放记录列表 |
|
|
* 查询供试品发放记录列表 |
|
|
* @return 供试品发放记录 |
|
|
* @return 供试品发放记录 |
|
|
@ -137,6 +137,17 @@ public class GspFfjlServiceImpl extends ServiceImpl impl |
|
|
gspFfjl.setMdIds(mdIds); |
|
|
gspFfjl.setMdIds(mdIds); |
|
|
this.save(gspFfjl); |
|
|
this.save(gspFfjl); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (StringUtils.isNoneBlank(mdIds)) { |
|
|
|
|
|
String[] tmp = mdIds.split(","); |
|
|
|
|
|
for (String sid : tmp) { |
|
|
|
|
|
List<Gsp> gspList = new ArrayList<>(); |
|
|
|
|
|
gspList.add(gsp); |
|
|
|
|
|
studyGspService.saveBatch(Long.valueOf(sid), gspList); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//region 稽查轨迹 |
|
|
//region 稽查轨迹 |
|
|
Map<String, String> formData = new LinkedHashMap<>(); |
|
|
Map<String, String> formData = new LinkedHashMap<>(); |
|
|
formData.put("出库量", gsp.getKc() + gsp.getKcdw()); |
|
|
formData.put("出库量", gsp.getKc() + gsp.getKcdw()); |
|
|
@ -152,6 +163,7 @@ public class GspFfjlServiceImpl extends ServiceImpl impl |
|
|
gspFfjlJcgjService.saveJcgj(gspFfjl, JcgjlxEnum.lc.getValue(), "领取发放", "Distribution", |
|
|
gspFfjlJcgjService.saveJcgj(gspFfjl, JcgjlxEnum.lc.getValue(), "领取发放", "Distribution", |
|
|
JcmcysEnum.green.getValue(), JctUtil.formatStr(formData), JctUtil.formatStr(formDataEn), ffr1); |
|
|
JcmcysEnum.green.getValue(), JctUtil.formatStr(formData), JctUtil.formatStr(formDataEn), ffr1); |
|
|
//endregion |
|
|
//endregion |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
|