解决发现的问题
This commit is contained in:
@@ -64,6 +64,10 @@ public class BasTraycodeFormatServiceImpl implements IBasTraycodeFormatService
|
||||
public int insertBasTraycodeFormat(BasTraycodeFormat basTraycodeFormat)
|
||||
{
|
||||
basTraycodeFormat.setCreateTime(DateUtils.getNowDate());
|
||||
// 设置流水号默认值为0
|
||||
if (basTraycodeFormat.getSerialRule() == null || basTraycodeFormat.getSerialRule().trim().isEmpty()) {
|
||||
basTraycodeFormat.setSerialRule("0");
|
||||
}
|
||||
return basTraycodeFormatMapper.insertBasTraycodeFormat(basTraycodeFormat);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user