Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
commit
b26ef44213
@ -46,7 +46,7 @@ public interface RunPlanRoutingDAO {
|
||||
"AND user_id IS NULL " +
|
||||
"</if> " +
|
||||
"<if test=\"userId != null\">\n" +
|
||||
"AND (user_id IS NULL OR user_id = #{userId})\n" +
|
||||
"AND user_id = #{userId}\n" +
|
||||
"</if> " +
|
||||
"AND section_data = #{sectionData} " +
|
||||
"</script>")
|
||||
|
@ -234,6 +234,7 @@ public class RunPlanRoutingService implements IRunPlanRoutingService {
|
||||
RunPlanRouting routing = getRunPlanRoutingData(routingId);
|
||||
if(Objects.equals(routing.getSectionData(),JsonUtils.writeValueAsString(routingVO.getParkSectionCodeList()))){
|
||||
runPlanRoutingDAO.updateByPrimaryKey(newRouting);
|
||||
return;
|
||||
}
|
||||
BusinessExceptionAssertEnum.DATA_ALREADY_EXIST.assertNotTrue(routingDataExist(routingVO), "交路数据重复");
|
||||
runPlanRoutingDAO.updateByPrimaryKeyWithBLOBs(newRouting);
|
||||
|
Loading…
Reference in New Issue
Block a user