| | |
| | | import com.baomidou.mybatisplus.annotation.TableLogic; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.vincent.rsf.server.system.service.DictDataService; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | |
| | | |
| | | public String getWkType$(){ |
| | | if (null == this.wkType){ return null; } |
| | | switch (this.wkType){ |
| | | case "1": |
| | | return " 常量"; |
| | | case "2": |
| | | return " 流水号"; |
| | | case "3": |
| | | return " 日期"; |
| | | case "4": |
| | | return " 业务字段 "; |
| | | default: |
| | | return String.valueOf(this.wkType); |
| | | DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); |
| | | DictData dictData = dictDataService.getOne(new LambdaQueryWrapper<DictData>() |
| | | .eq(DictData::getDictTypeCode,"sys_rule_item_type").eq(DictData::getValue, this.wkType)); |
| | | if (null != dictData){ |
| | | return dictData.getLabel(); |
| | | } |
| | | return String.valueOf(this.wkType); |
| | | } |
| | | |
| | | public String getStatus$(){ |