지붕면 할당 Setting 수정
This commit is contained in:
parent
66a04ae837
commit
2a4ddc68a1
@ -104,7 +104,7 @@ public class CanvasBasicSettingService {
|
|||||||
for (RoofAllocationInfo rai : csi.getRoofAllocationList()) {
|
for (RoofAllocationInfo rai : csi.getRoofAllocationList()) {
|
||||||
|
|
||||||
rai.setObjectNo(csi.getObjectNo());
|
rai.setObjectNo(csi.getObjectNo());
|
||||||
//rma.setRoofSeq(roofSeq++); //roofSeq는 순차적으로 새로 생성하여 insert
|
//rai.setRoofSeq(roofSeq++); //roofSeq는 순차적으로 새로 생성하여 insert
|
||||||
|
|
||||||
// 신규 지붕재추가 정보 insert
|
// 신규 지붕재추가 정보 insert
|
||||||
canvasBasicSettingMapper.insertRoofAllocation(rai);
|
canvasBasicSettingMapper.insertRoofAllocation(rai);
|
||||||
|
|||||||
@ -18,5 +18,5 @@ public class CanvasBasicSettingInfo {
|
|||||||
private Date lastEditDatetime; //수정일시
|
private Date lastEditDatetime; //수정일시
|
||||||
|
|
||||||
private List<RoofMaterialsAddInfo> roofMaterialsAddList;
|
private List<RoofMaterialsAddInfo> roofMaterialsAddList;
|
||||||
private List<RoofAllocationInfo> RoofAllocationList;
|
private List<RoofAllocationInfo> roofAllocationList;
|
||||||
}
|
}
|
||||||
@ -156,6 +156,41 @@
|
|||||||
|
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
<insert id="insertRoofAllocation" parameterType="com.interplug.qcast.biz.canvasBasicSetting.dto.RoofAllocationInfo">
|
||||||
|
/* sqlid : com.interplug.qcast.canvasBasicSetting.insertRoofAllocation Canvas 지붕면 할당 Setting 등록 */
|
||||||
|
INSERT INTO TB_CANVAS_ROOF_MATERIALS_ADD
|
||||||
|
(
|
||||||
|
object_no
|
||||||
|
, roof_apply
|
||||||
|
, roof_seq
|
||||||
|
, roof_matl_cd
|
||||||
|
, roof_width
|
||||||
|
, roof_height
|
||||||
|
, roof_hajebichi
|
||||||
|
, roof_gap
|
||||||
|
, roof_layout
|
||||||
|
, roof_pitch
|
||||||
|
, roof_angle
|
||||||
|
, regist_datetime
|
||||||
|
, last_edit_datetime
|
||||||
|
)
|
||||||
|
VALUES (
|
||||||
|
#{objectNo}
|
||||||
|
, #{roofApply}
|
||||||
|
, #{roofSeq}
|
||||||
|
, #{roofMatlCd}
|
||||||
|
, #{roofWidth}
|
||||||
|
, #{roofHeight}
|
||||||
|
, #{roofHajebichi}
|
||||||
|
, #{roofGap}
|
||||||
|
, #{roofLayout}
|
||||||
|
, #{roofPitch}
|
||||||
|
, #{roofAngle}
|
||||||
|
, GETDATE()
|
||||||
|
, GETDATE()
|
||||||
|
);
|
||||||
|
</insert>
|
||||||
|
|
||||||
<delete id="deleteRoofMaterialsAdd" parameterType="string">
|
<delete id="deleteRoofMaterialsAdd" parameterType="string">
|
||||||
/* sqlid : com.interplug.qcast.canvasBasicSetting.deleteRoofMaterialsAdd Canvas 지붕재추가 Setting 삭제 */
|
/* sqlid : com.interplug.qcast.canvasBasicSetting.deleteRoofMaterialsAdd Canvas 지붕재추가 Setting 삭제 */
|
||||||
DELETE FROM TB_CANVAS_ROOF_MATERIALS_ADD
|
DELETE FROM TB_CANVAS_ROOF_MATERIALS_ADD
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user