|
@@ -313,7 +313,9 @@ public class PositionServiceImpl extends ServiceImpl<PositionMapper, Position> i
|
|
|
position.setIsHealthCertification(Integer.parseInt(isHealthCertification));
|
|
position.setIsHealthCertification(Integer.parseInt(isHealthCertification));
|
|
|
}
|
|
}
|
|
|
try {
|
|
try {
|
|
|
- position.setEndDate(sdf.parse(endDate));
|
|
|
|
|
|
|
+ if (StringUtils.isNotBlank(endDate)) {
|
|
|
|
|
+ position.setEndDate(sdf.parse(endDate));
|
|
|
|
|
+ }
|
|
|
positionMapper.save(position);
|
|
positionMapper.save(position);
|
|
|
String json = requestMap.get("json");//工作地址
|
|
String json = requestMap.get("json");//工作地址
|
|
|
if (StringUtils.isNotBlank(json)) {
|
|
if (StringUtils.isNotBlank(json)) {
|
|
@@ -419,7 +421,9 @@ public class PositionServiceImpl extends ServiceImpl<PositionMapper, Position> i
|
|
|
position.setHasRegularBus(Integer.parseInt(hasRegularBus));
|
|
position.setHasRegularBus(Integer.parseInt(hasRegularBus));
|
|
|
}
|
|
}
|
|
|
try {
|
|
try {
|
|
|
- position.setEndDate(sdf.parse(endDate));
|
|
|
|
|
|
|
+ if (StringUtils.isNotBlank(endDate)) {
|
|
|
|
|
+ position.setEndDate(sdf.parse(endDate));
|
|
|
|
|
+ }
|
|
|
positionMapper.save(position);
|
|
positionMapper.save(position);
|
|
|
String json = requestMap.get("json");
|
|
String json = requestMap.get("json");
|
|
|
if (StringUtils.isNotBlank(json)) {
|
|
if (StringUtils.isNotBlank(json)) {
|