fix
Helius
2021-06-29 883bacde5e4cd64fd2ebd63eac5e45e2efd2a840
fix
1 files modified
3 ■■■■■ changed files
gc-user/src/main/java/com/xzx/gc/user/service/JhyInfoService.java 3 ●●●●● patch | view | raw | blame | history
gc-user/src/main/java/com/xzx/gc/user/service/JhyInfoService.java
@@ -11,6 +11,7 @@
import com.xzx.gc.user.dto.JhyInfoListDto;
import com.xzx.gc.user.mapper.JhyInfoMapper;
import com.xzx.gc.user.vo.JhyInfoListVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -20,6 +21,7 @@
import java.util.List;
import java.util.Map;
@Slf4j
@Service
@Transactional
public class JhyInfoService {
@@ -39,6 +41,7 @@
        jhyInfoMapper.deleteByUserId(applyDto.getUserId());
        log.info("图片地址:{}", applyDto.getCardPos());
        JhyInfo jhyInfo = new JhyInfo();
        BeanUtil.copyProperties(applyDto, jhyInfo);
        jhyInfo.setCreatedTime(new Date());