|
@@ -37,6 +37,7 @@ import com.platform.service.event.WorkplaceBacklogEvent;
|
|
|
import com.platform.service.store.InStoreFormService;
|
|
|
import com.platform.service.store.StoreService;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
+import org.springframework.boot.autoconfigure.session.StoreType;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.util.CollectionUtils;
|
|
@@ -62,6 +63,7 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
private SpareStoreMapper spareStoreMapper;
|
|
|
private StoreService storeService;
|
|
|
private SpareBackFormMapper spareBackFormMapper;
|
|
|
+
|
|
|
@Override
|
|
|
public int batchDelete(List<String> ids) {
|
|
|
//Weekend<OutStoreForm> weekend = new Weekend<>(OutStoreForm.class);
|
|
@@ -92,7 +94,7 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
BeanConverterUtil.copyObjectProperties(inStoreForm, inStoreFormVO);
|
|
|
// 查询入库详情列表
|
|
|
Store store = storeService.getModelById(inStoreFormVO.getStoreId());
|
|
|
- if(store == null){
|
|
|
+ if (store == null) {
|
|
|
throw new BusinessException("仓库已经删除,无法查询;");
|
|
|
}
|
|
|
inStoreFormVO.setStoreName(store.getName());
|
|
@@ -102,6 +104,7 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
|
|
|
/**
|
|
|
* 只有未入库状态才可以删除,不需要回滚
|
|
|
+ *
|
|
|
* @param id :
|
|
|
* @return
|
|
|
*/
|
|
@@ -109,14 +112,14 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public boolean cascadingDeleteByKey(String id) {
|
|
|
InStoreForm form = mapper.selectByPrimaryKey(id);
|
|
|
- if( form.getStatus()!=null && (form.getStatus().intValue() == InStoreStatusEnum.EXECUTING.getValue())){
|
|
|
+ if (form.getStatus() != null && (form.getStatus().intValue() == InStoreStatusEnum.EXECUTING.getValue())) {
|
|
|
throw new BusinessException("已入库的不可以删除,入库单id:" + form.getId());
|
|
|
}
|
|
|
// 刪除入库单
|
|
|
int result = mapper.deleteByPrimaryKey(id);
|
|
|
UserInfo userInfo = SecurityUtils.getUserInfo();
|
|
|
// 刪除详情,更新详情涉及的库存
|
|
|
- if(result == 1){
|
|
|
+ if (result == 1) {
|
|
|
Weekend<InStoreDetail> detailWeekend = new Weekend<>(InStoreDetail.class);
|
|
|
detailWeekend.weekendCriteria().andEqualTo(InStoreDetail::getInId, id);
|
|
|
List<InStoreDetail> detailList = detailMapper.selectByExample(detailWeekend);
|
|
@@ -124,25 +127,25 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
|
|
|
// 批量更新仓库库存
|
|
|
/**detailList.forEach(detail -> {
|
|
|
- Weekend<SpareStore> spareStoreWeekend = new Weekend<>(SpareStore.class);
|
|
|
- spareStoreWeekend.weekendCriteria().andEqualTo(SpareStore::getSpareId, detail.getSpareId())
|
|
|
- .andEqualTo(SpareStore::getStoreId, detail.getStoreId());
|
|
|
- SpareStore spareStore = spareStoreMapper.selectOneByExample(spareStoreWeekend);
|
|
|
- if (ObjectUtil.isNull(spareStore)) {
|
|
|
- throw new BusinessException("找不到对应仓库,请检查仓库是否存在!,仓库id:" + detail.getStoreId());
|
|
|
- } else {
|
|
|
- if (spareStore.getNum() ==null) {
|
|
|
- spareStore.setNum(detail.getNum());
|
|
|
- }else{
|
|
|
- spareStore.setNum(BigDecimalUtil.add(spareStore.getNum(),detail.getNum()));
|
|
|
- }
|
|
|
- spareStore.setUpdateTime(LocalDateTime.now());
|
|
|
- spareStore.setUpdateUserId(userInfo.getUserId());
|
|
|
- spareStore.setUpdateUserName(userInfo.getRealName());
|
|
|
- //storeList.add(spareStore);
|
|
|
- spareStoreMapper.updateByPrimaryKeySelective(spareStore);
|
|
|
- }
|
|
|
- });**/
|
|
|
+ Weekend<SpareStore> spareStoreWeekend = new Weekend<>(SpareStore.class);
|
|
|
+ spareStoreWeekend.weekendCriteria().andEqualTo(SpareStore::getSpareId, detail.getSpareId())
|
|
|
+ .andEqualTo(SpareStore::getStoreId, detail.getStoreId());
|
|
|
+ SpareStore spareStore = spareStoreMapper.selectOneByExample(spareStoreWeekend);
|
|
|
+ if (ObjectUtil.isNull(spareStore)) {
|
|
|
+ throw new BusinessException("找不到对应仓库,请检查仓库是否存在!,仓库id:" + detail.getStoreId());
|
|
|
+ } else {
|
|
|
+ if (spareStore.getNum() ==null) {
|
|
|
+ spareStore.setNum(detail.getNum());
|
|
|
+ }else{
|
|
|
+ spareStore.setNum(BigDecimalUtil.add(spareStore.getNum(),detail.getNum()));
|
|
|
+ }
|
|
|
+ spareStore.setUpdateTime(LocalDateTime.now());
|
|
|
+ spareStore.setUpdateUserId(userInfo.getUserId());
|
|
|
+ spareStore.setUpdateUserName(userInfo.getRealName());
|
|
|
+ //storeList.add(spareStore);
|
|
|
+ spareStoreMapper.updateByPrimaryKeySelective(spareStore);
|
|
|
+ }
|
|
|
+ });**/
|
|
|
|
|
|
// 批量删除入库详情
|
|
|
List<String> ids = detailList.stream().map(InStoreDetail::getId).collect(Collectors.toList());
|
|
@@ -172,6 +175,13 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
|
|
|
@Override
|
|
|
public InStoreForm saveModelByDTO(InStoreFormDTO model) {
|
|
|
+ Store store = storeService.getModelById(model.getStoreId());
|
|
|
+ if (store == null) {
|
|
|
+ throw new BusinessException("仓库不存在, storeId:" + model.getStoreId() );
|
|
|
+ }
|
|
|
+ if (store.getLevel().equals(StoreLevelEnum.ZONGCANG)){
|
|
|
+ throw new BusinessException("请选择库位");
|
|
|
+ }
|
|
|
UserInfo userInfo = SecurityUtils.getUserInfo();
|
|
|
model.setUserInfo(userInfo);
|
|
|
Weekend<InStoreForm> weekend = new Weekend<>(InStoreForm.class);
|
|
@@ -184,7 +194,7 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
List<InStoreDetailDTO> detailList = model.getDetailList();
|
|
|
BigDecimal totalPrice = new BigDecimal(0);
|
|
|
// 插入
|
|
|
- for(InStoreDetailDTO detail:detailList) {
|
|
|
+ for (InStoreDetailDTO detail : detailList) {
|
|
|
detail.setUserInfo(userInfo);
|
|
|
detail.setType(inStoreForm.getType());
|
|
|
detail.setInId(inStoreForm.getId());
|
|
@@ -202,7 +212,8 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
storeDetail.setUpdateUserId(userInfo.getUserId());
|
|
|
detailMapper.updateByPrimaryKeySelective(storeDetail);
|
|
|
}
|
|
|
- };
|
|
|
+ }
|
|
|
+ ;
|
|
|
inStoreForm.setTotalPrice(totalPrice);
|
|
|
mapper.updateByPrimaryKey(inStoreForm);
|
|
|
return inStoreForm;
|
|
@@ -219,7 +230,7 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
List<InStoreDetailDTO> detailList = model.getDetailList();
|
|
|
BigDecimal totalPrice = new BigDecimal(0);
|
|
|
// 插入
|
|
|
- for(InStoreDetailDTO detail:detailList) {
|
|
|
+ for (InStoreDetailDTO detail : detailList) {
|
|
|
model.setCreatedUserId("1");
|
|
|
detail.setType(inStoreForm.getType());
|
|
|
detail.setInId(inStoreForm.getId());
|
|
@@ -237,7 +248,8 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
storeDetail.setUpdateUserId(userInfo.getUserId());
|
|
|
detailMapper.updateByPrimaryKeySelective(storeDetail);
|
|
|
}
|
|
|
- };
|
|
|
+ }
|
|
|
+ ;
|
|
|
// 更新库存
|
|
|
updateStore(inStoreForm.getId());
|
|
|
return inStoreForm;
|
|
@@ -245,6 +257,13 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
|
|
|
@Override
|
|
|
public void updateModelByDTO(InStoreFormDTO model) {
|
|
|
+ Store store = storeService.getModelById(model.getStoreId());
|
|
|
+ if (store == null) {
|
|
|
+ throw new BusinessException("仓库不存在, storeId:" + model.getStoreId() );
|
|
|
+ }
|
|
|
+ if (store.getLevel().equals(StoreLevelEnum.ZONGCANG)) {
|
|
|
+ throw new BusinessException("请选择库位");
|
|
|
+ }
|
|
|
// 更新
|
|
|
super.modModelByDTO(model);
|
|
|
// 入库单详情
|
|
@@ -253,7 +272,7 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
// 先删后插,前端删除的不存在与ids里面,说明被删掉了,需要删除
|
|
|
Weekend<InStoreDetail> detailWeekend = new Weekend<>(InStoreDetail.class);
|
|
|
List<String> ids = detailList.stream().map(InStoreDetailDTO::getId).collect(Collectors.toList());
|
|
|
- detailWeekend.weekendCriteria().andNotIn(InStoreDetail::getId, ids).andEqualTo(InStoreDetail::getInId,model.getId());
|
|
|
+ detailWeekend.weekendCriteria().andNotIn(InStoreDetail::getId, ids).andEqualTo(InStoreDetail::getInId, model.getId());
|
|
|
// List<InStoreDetail> delDetailList = detailMapper.selectByExample(detailWeekend);
|
|
|
detailMapper.deleteByExample(detailWeekend);
|
|
|
BigDecimal totalPrice = new BigDecimal(0);
|
|
@@ -261,9 +280,9 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
List<InStoreDetail> updateDetailList = new ArrayList<InStoreDetail>();
|
|
|
List<InStoreDetail> addDetailList = new ArrayList<InStoreDetail>();
|
|
|
|
|
|
- for(InStoreDetailDTO detail:detailList) {
|
|
|
+ for (InStoreDetailDTO detail : detailList) {
|
|
|
InStoreDetail realDetail = detailMapper.selectByPrimaryKey(detail.getId());
|
|
|
- if(ObjectUtil.isNull(realDetail)){
|
|
|
+ if (ObjectUtil.isNull(realDetail)) {
|
|
|
detail.setUserInfo(userInfo);
|
|
|
detail.setInId(model.getId());
|
|
|
detail.setStoreId(model.getStoreId());
|
|
@@ -273,18 +292,19 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
BeanConverterUtil.copyObjectProperties(detail, storeDetail);
|
|
|
storeDetail.setId(IdGeneratorUtils.getObjectId());
|
|
|
addDetailList.add(storeDetail);
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
totalPrice = totalPrice.add(detail.getTotalPrice());
|
|
|
InStoreDetail storeDetail = new InStoreDetail();
|
|
|
BeanConverterUtil.copyObjectProperties(detail, storeDetail);
|
|
|
updateDetailList.add(storeDetail);
|
|
|
}
|
|
|
- };
|
|
|
+ }
|
|
|
+ ;
|
|
|
|
|
|
- if(!CollectionUtils.isEmpty(addDetailList)){
|
|
|
+ if (!CollectionUtils.isEmpty(addDetailList)) {
|
|
|
detailMapper.insertListforComplex(addDetailList);
|
|
|
}
|
|
|
- if(!CollectionUtils.isEmpty(updateDetailList)){
|
|
|
+ if (!CollectionUtils.isEmpty(updateDetailList)) {
|
|
|
detailMapper.updateBatch(updateDetailList);
|
|
|
}
|
|
|
|
|
@@ -295,7 +315,6 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- *
|
|
|
* @param dto
|
|
|
* @param dispatchOrderList
|
|
|
* @return
|
|
@@ -322,10 +341,10 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
model.setPurchaseId(dto.getPurchaseId());
|
|
|
model.setStoreId(dto.getStoreId());
|
|
|
Store store = storeService.getModelById(model.getStoreId());
|
|
|
- if(store == null){
|
|
|
+ if (store == null) {
|
|
|
throw new BusinessException("找不到仓库,请给项目部设置总仓以及对应的负责人, storeId:" + model.getStoreId());
|
|
|
}
|
|
|
- if(store.getUserId() == null){
|
|
|
+ if (store.getUserId() == null) {
|
|
|
throw new BusinessException("找不到仓库的负责人,请设置负责人, storeId:" + store.getId());
|
|
|
}
|
|
|
model.setStatus(InStoreStatusEnum.NOT_EXECUTE.getValue());
|
|
@@ -353,13 +372,13 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
detail.setPurchaseTotalPrice(dispatchOrder.getTotalPrice());
|
|
|
detailList.add(detail);
|
|
|
});
|
|
|
- if(!CollectionUtils.isEmpty(detailList)){
|
|
|
+ if (!CollectionUtils.isEmpty(detailList)) {
|
|
|
detailMapper.insertListforComplex(detailList);
|
|
|
}
|
|
|
|
|
|
// 采购验收后,直接入库,并通知仓库负责人
|
|
|
this.updateStore(inStoreForm.getId());
|
|
|
- SpringContextHolder.publishEvent(new WorkplaceBacklogEvent( WorkplaceBacklogTypeEnum.PURCHASE_WUZI_MESSAGE.getValue(), WorkplaceBacklogDetailTypeEnum.PURCHASE_WUZI_MESSAGE.getValue(),
|
|
|
+ SpringContextHolder.publishEvent(new WorkplaceBacklogEvent(WorkplaceBacklogTypeEnum.PURCHASE_WUZI_MESSAGE.getValue(), WorkplaceBacklogDetailTypeEnum.PURCHASE_WUZI_MESSAGE.getValue(),
|
|
|
inStoreForm.getId(), MessageTemplateUtil.getPurchaseWuZiInStore(inStoreForm.getId()),
|
|
|
inStoreForm.getId(), ListUtils.newArrayList(store.getUserId())));
|
|
|
return inStoreForm;
|
|
@@ -386,23 +405,23 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
|
|
|
// 找到明细
|
|
|
Weekend<InStoreDetail> detailWeekend = new Weekend<>(InStoreDetail.class);
|
|
|
- detailWeekend.weekendCriteria().andEqualTo(InStoreDetail::getInId,model.getId());
|
|
|
+ detailWeekend.weekendCriteria().andEqualTo(InStoreDetail::getInId, model.getId());
|
|
|
List<InStoreDetail> detailList = detailMapper.selectByExample(detailWeekend);
|
|
|
|
|
|
// 更新退库状态
|
|
|
- if( model.getBackId() != null ){
|
|
|
+ if (model.getBackId() != null) {
|
|
|
SpareBackForm spareBackForm = spareBackFormMapper.selectByPrimaryKey(model.getBackId());
|
|
|
spareBackForm.setStatus(SpareBackFormStatusEnum.FINISHED.getValue());
|
|
|
spareBackFormMapper.updateByPrimaryKeySelective(spareBackForm);
|
|
|
|
|
|
- SpringContextHolder.publishEvent(new WorkplaceBacklogEvent( WorkplaceBacklogTypeEnum.BACK_STORE.getValue(), WorkplaceBacklogDetailTypeEnum.BACK_STORE.getValue(),
|
|
|
+ SpringContextHolder.publishEvent(new WorkplaceBacklogEvent(WorkplaceBacklogTypeEnum.BACK_STORE.getValue(), WorkplaceBacklogDetailTypeEnum.BACK_STORE.getValue(),
|
|
|
spareBackForm.getId(), MessageTemplateUtil.getBackStoreFinish(spareBackForm.getId()),
|
|
|
spareBackForm.getId(), ListUtils.newArrayList(spareBackForm.getPickUserId())));
|
|
|
}
|
|
|
|
|
|
//BigDecimal totalNum = new BigDecimal(0);
|
|
|
// 更新库存
|
|
|
- for(InStoreDetail detail:detailList) {
|
|
|
+ for (InStoreDetail detail : detailList) {
|
|
|
// 更新库存信息
|
|
|
Weekend<SpareStore> spareStoreWeekend = new Weekend<>(SpareStore.class);
|
|
|
spareStoreWeekend.weekendCriteria().andEqualTo(SpareStore::getSpareId, detail.getSpareId())
|
|
@@ -427,11 +446,12 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
spareStore.setUpdateTime(LocalDateTime.now());
|
|
|
spareStore.setUpdateUserId(userInfo.getUserId());
|
|
|
spareStore.setUpdateUserName(userInfo.getRealName());
|
|
|
- spareStore.setPrice(getNewPrice(spareStore,detail));
|
|
|
+ spareStore.setPrice(getNewPrice(spareStore, detail));
|
|
|
spareStore.setNum(BigDecimalUtil.add(spareStore.getNum(), detail.getNum()));
|
|
|
spareStoreMapper.updateByPrimaryKeySelective(spareStore);
|
|
|
}
|
|
|
- };
|
|
|
+ }
|
|
|
+ ;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -445,10 +465,10 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
* @return
|
|
|
*/
|
|
|
private BigDecimal getNewPrice(SpareStore spareStore, InStoreDetail detail) {
|
|
|
- BigDecimal totalStorePrice = BigDecimalUtil.mul(spareStore.getPrice(),spareStore.getNum());
|
|
|
- BigDecimal totalInPrice = BigDecimalUtil.mul(detail.getPrice(),detail.getNum());
|
|
|
- BigDecimal totalPrice = BigDecimalUtil.add(totalStorePrice,totalInPrice);
|
|
|
- BigDecimal totalNum = BigDecimalUtil.add(spareStore.getNum(),detail.getNum());
|
|
|
+ BigDecimal totalStorePrice = BigDecimalUtil.mul(spareStore.getPrice(), spareStore.getNum());
|
|
|
+ BigDecimal totalInPrice = BigDecimalUtil.mul(detail.getPrice(), detail.getNum());
|
|
|
+ BigDecimal totalPrice = BigDecimalUtil.add(totalStorePrice, totalInPrice);
|
|
|
+ BigDecimal totalNum = BigDecimalUtil.add(spareStore.getNum(), detail.getNum());
|
|
|
BigDecimal price = BigDecimalUtil.div(totalPrice, totalNum);
|
|
|
return price;
|
|
|
}
|
|
@@ -469,14 +489,14 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
model.setDelFlag(false);
|
|
|
model.setUserInfo(userInfo);
|
|
|
|
|
|
- Store store = storeService.getModelById(sparePickFormDTO.getStoreId());
|
|
|
+ Store store = storeService.getModelById(sparePickFormDTO.getStoreId());
|
|
|
model.setCreatedUserId(store.getUserId());
|
|
|
model.setType(InStoreTypeEnum.XIANZHI_RUKU.getValue());
|
|
|
model.setStatus(OutStoreStatusEnum.NOT_EXECUTE.getValue());
|
|
|
model.setRemark(sparePickFormDTO.getRemark());
|
|
|
InStoreForm form = super.saveModelByDTO(model);
|
|
|
List<InStoreDetail> detailList = new ArrayList<InStoreDetail>();
|
|
|
- selectDetailList.forEach(pickDetail->{
|
|
|
+ selectDetailList.forEach(pickDetail -> {
|
|
|
InStoreDetail detail = new InStoreDetail();
|
|
|
detail.setId(IdGeneratorUtils.getObjectId());
|
|
|
detail.setCreatedTime(pickDetail.getCreatedTime());
|
|
@@ -492,7 +512,7 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
});
|
|
|
detailMapper.insertListforComplex(detailList);
|
|
|
|
|
|
- SpringContextHolder.publishEvent(new WorkplaceBacklogEvent( WorkplaceBacklogTypeEnum.BACK_STORE.getValue(), WorkplaceBacklogDetailTypeEnum.BACK_STORE.getValue(),
|
|
|
+ SpringContextHolder.publishEvent(new WorkplaceBacklogEvent(WorkplaceBacklogTypeEnum.BACK_STORE.getValue(), WorkplaceBacklogDetailTypeEnum.BACK_STORE.getValue(),
|
|
|
form.getId(), MessageTemplateUtil.getBackStore(form.getId()),
|
|
|
form.getId(), ListUtils.newArrayList(store.getUserId())));
|
|
|
return form;
|
|
@@ -518,10 +538,10 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
model.setTotalPrice(job.getProfitPrice());
|
|
|
model.setStoreId(job.getStoreId());
|
|
|
Store store = storeService.getModelById(model.getStoreId());
|
|
|
- if(store == null){
|
|
|
+ if (store == null) {
|
|
|
throw new BusinessException("找不到仓库,请给项目部设置总仓以及对应的负责人, storeId:" + model.getStoreId());
|
|
|
}
|
|
|
- if(store.getUserId() == null){
|
|
|
+ if (store.getUserId() == null) {
|
|
|
throw new BusinessException("找不到仓库的负责人,请设置负责人, storeId:" + store.getId());
|
|
|
}
|
|
|
model.setCreatedUserId(job.getCheckUserId());
|
|
@@ -544,11 +564,11 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
formList.add(inStoreForm);
|
|
|
|
|
|
});
|
|
|
- if(!CollectionUtils.isEmpty(detailList)){
|
|
|
+ if (!CollectionUtils.isEmpty(detailList)) {
|
|
|
detailMapper.insertListforComplex(detailList);
|
|
|
}
|
|
|
- if(!CollectionUtils.isEmpty(formList)){
|
|
|
- for(InStoreForm form: formList){
|
|
|
+ if (!CollectionUtils.isEmpty(formList)) {
|
|
|
+ for (InStoreForm form : formList) {
|
|
|
updateStore(form.getId());
|
|
|
}
|
|
|
}
|