소스 검색

fix

photo
winter 1 년 전
부모
커밋
ebd668c7c4
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. +4
    -1
      suimangService/src/main/java/com/iformall/service/sm/impl/PersonMouldServiceImpl.java

+ 4
- 1
suimangService/src/main/java/com/iformall/service/sm/impl/PersonMouldServiceImpl.java 파일 보기

@@ -26,6 +26,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@@ -59,7 +60,9 @@ public class PersonMouldServiceImpl implements PersonMouldService {
upm.setCUserId(record.getCuserId());
List<Long> mouldIds = userPersonMouldMapper.findMouldIdList(upm);
if (null == mouldIds || mouldIds.size() <= 0 ) {
record.setId(-1L);
List<Long> pmids = new ArrayList<Long>();
pmids.add(-1L);
record.setCustomPersonMouldIds(pmids);
}else {
record.setCustomPersonMouldIds(mouldIds);
}


불러오는 중...
취소
저장