@ -24,6 +24,7 @@ import com.epmet.commons.mybatis.service.impl.BaseServiceImpl;
import com.epmet.commons.tools.constant.Constant ;
import com.epmet.commons.tools.constant.Constant ;
import com.epmet.commons.tools.constant.FieldConstant ;
import com.epmet.commons.tools.constant.FieldConstant ;
import com.epmet.commons.tools.constant.NumConstant ;
import com.epmet.commons.tools.constant.NumConstant ;
import com.epmet.commons.tools.constant.StrConstant ;
import com.epmet.commons.tools.exception.EpmetErrorCode ;
import com.epmet.commons.tools.exception.EpmetErrorCode ;
import com.epmet.commons.tools.exception.RenException ;
import com.epmet.commons.tools.exception.RenException ;
import com.epmet.commons.tools.exception.ValidateException ;
import com.epmet.commons.tools.exception.ValidateException ;
@ -268,6 +269,7 @@ public class BadgeServiceImpl extends BaseServiceImpl<BadgeDao, BadgeEntity> imp
BadgeDTO badgeDTO = ConvertUtils . sourceToTarget ( badgeEntity , BadgeDTO . class ) ;
BadgeDTO badgeDTO = ConvertUtils . sourceToTarget ( badgeEntity , BadgeDTO . class ) ;
badgeDTO . setCustomerId ( tokenDto . getCustomerId ( ) ) ;
badgeDTO . setCustomerId ( tokenDto . getCustomerId ( ) ) ;
badgeDTO . setDelFlag ( NumConstant . ONE_STR ) ;
badgeDTO . setDelFlag ( NumConstant . ONE_STR ) ;
badgeDTO . setRevision ( NumConstant . ZERO ) ;
badgeDTO . setCreatedBy ( tokenDto . getUserId ( ) ) ;
badgeDTO . setCreatedBy ( tokenDto . getUserId ( ) ) ;
badgeDTO . setCreatedTime ( new Date ( ) ) ;
badgeDTO . setCreatedTime ( new Date ( ) ) ;
badgeDTO . setUpdatedBy ( tokenDto . getUserId ( ) ) ;
badgeDTO . setUpdatedBy ( tokenDto . getUserId ( ) ) ;