|
@@ -215,8 +215,11 @@ public class QySecondlineHfdServiceImpl extends ServiceImpl<QySecondlineHfdMappe
|
|
|
QySecondlineHfd qySecondlineHfd = BeanUtil.toBean(baseInfo, QySecondlineHfd.class);
|
|
|
qySecondlineHfd.setSbsj(new Date());
|
|
|
//生成预录入单号
|
|
|
- String hfdRCode = BusinessIdGenerator.generateNumBerUUID(18);
|
|
|
- qySecondlineHfd.setHfdrCode(hfdRCode);
|
|
|
+ StringBuilder stringBuilder = new StringBuilder(BusinessIdGenerator.generateNumBerUUID(18));
|
|
|
+ stringBuilder.setCharAt(13,'e');
|
|
|
+ stringBuilder.setCharAt(14,'c');
|
|
|
+
|
|
|
+ qySecondlineHfd.setHfdrCode(stringBuilder.toString());
|
|
|
//生成核放单号(审核通过时)
|
|
|
if(ObjectUtil.isNotEmpty(baseInfo.getStatus()) && "3".equals(baseInfo.getStatus())){
|
|
|
qySecondlineHfd.setHfdCode(BusinessIdGenerator.generateNumBerUUID(18));
|